﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace StoreWeb.system.message
{
    public partial class edit : System.Web.UI.Page
    {
        //BLL.Role role = new BLL.Role();
        BLL.Message message = new BLL.Message();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //Bind();
                //hidid.Value = Request.QueryString["id"];
                //if (!string.IsNullOrEmpty(hidid.Value))
                //{
                //    Model.Message ne = message.GetModel(Convert.ToInt32(hidid.Value));
                //    ddluser.SelectedValue = ne.userid.ToString();
                //    //smscontent.Value = ne.smscontent;
                //    scontent.Text = ne.smscontent;

                   
                //}
            }
        }

        //private void Bind()
        //{
        //    BLL.Customer message = new BLL.Customer();
        //    //加载用户
        //    ddluser.DataSource = message.GetList("  ");
        //    ddluser.DataTextField = "customername";
        //    ddluser.DataValueField = "id";
        //    ddluser.DataBind();
        //    ddluser.Items.Insert(0, new ListItem { Value = "", Text = "------请选择客户------" });

        //}
    }
}